import { createBrowserRouter } from "react-router-dom";
import Layout from "../page/layout";
import Month from "@/page/month";
import News from "@/page/new";
import Years from "@/page/year";
const router = createBrowserRouter([
    {
        path: '/',
        element:<Layout></Layout>,
        children:[
            {
                path:'month',
                element:<Month></Month>
            },
            {
                path:'Year',
                element:<Years></Years>
            }
        ]
    },
    {
        path:'/new',
        element:<News></News>
    }
])
export default router